package com.rem.chat.pojo.request;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Pattern;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * @author: Themberfue
 * @date: 2025/6/9 21:08
 * @description:
 */
@Data
public class BeautyIdAddRequest {
    /**
     * 靓号id
     */
    @NotBlank(message = "靓号id不能为空")
    @Size(max = 11, message = "靓号id不能超过11位")
    @Pattern(regexp = "\\d+", message = "靓号id不能超过数字")
    private String userId;

    /**
     * 用户邮箱
     */
    @NotBlank(message = "用户邮箱不能为空")
    @Email
    private String email;
}
